home *** CD-ROM | disk | FTP | other *** search
- // GXRenders.idl : IDL source for GXMPS.dll
- //
-
- // This file will be processed by the MIDL tool to
- // produce the type library (GXMPS.tlb) and marshalling code.
-
- import "imsigx.idl";
- import "ocidl.idl";
-
-
- /**
- * An object which controls the loading and saving of objects to and from disk.
- */
- [
- object
- ,uuid(6A48114E-E531-11CF-A115-00A024158DAF)
- ,oleautomation
- ,dual
- ,helpcontext(0x13000000)
- ,helpstring("An object which controls the loading and saving of objects to and from disk.")
- ]
- interface RenderView : IDispatch
- {
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x13000001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the Drawing object that owns the object.
- */
- [
- propget
- ,helpcontext(0x13000002)
- ,helpstring("Returns the Drawing object that owns the object.")
- ]
- HRESULT Drawing(
- [out, retval] IDrawing** prop // The Drawing object.
- );
-
- /**
- * Returns the Drawing object that owns the object.
- */
- [
- propget
- ,helpcontext(0x13000003)
- ,helpstring("Returns the View object that owns the object.")
- ]
- HRESULT View(
- [out, retval] View** prop // The Drawing object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x13000004)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] View** prop // The parent object.
- );
-
- [
- propget
- ,helpcontext(0x13000005)
- ,helpstring("return Render id ")
- ]
- HRESULT RenderID(
- [out, retval] short *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000005)
- ,helpstring("set id of the render which associated with the RenderView")
- ]
- HRESULT RenderID(
- [in] short newVal
- );
-
- [
- propget
- ,helpcontext(0x13000006)
- ,helpstring("return render's default mode")
- ]
- HRESULT RenderMode(
- [out, retval] ImsiRenderMode *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000006)
- ,helpstring("set render's default mode")
- ]
- HRESULT RenderMode(
- [in] ImsiRenderMode newVal
- );
-
-
- [
- propget
- ,helpcontext(0x13000007)
- ,helpstring("return ExtendedMode of the render")
- ]
- HRESULT RadExtendedMode(
- [out, retval] ImsiRenderMode *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000007)
- ,helpstring("set ExtendedMode of the render")
- ]
- HRESULT RadExtendedMode(
- [in] ImsiRenderMode newVal
- );
-
- [
- propget
- ,helpcontext(0x13000008)
- ,helpstring("property IterationsCount")
- ]
- HRESULT RadIterationsCount(
- [out, retval] short *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000008)
- ,helpstring("property IterationsCount")
- ]
- HRESULT RadIterationsCount(
- [in] short newVal
- );
-
- [
- propget
- ,helpcontext(0x13000009)
- ,helpstring("return true if render is runned in this view")
- ]
- HRESULT IsRenderRunned(
- [out, retval] BOOL* pVal
- );
-
- [
- propget
- ,helpcontext(0x1300000A)
- ,helpstring("return picture of the renderview")
- ]
- HRESULT Picture(
- [out, retval] IPicture** pProp
- );
-
- [
- helpcontext(0x1300000B)
- ,helpstring("Start render ")
- ]
- HRESULT BeginRender(
- [in] short WhichRender
- );
-
- [
- helpcontext(0x1300000C)
- ,helpstring("Do render ")
- ]
- HRESULT DoRender(
- );
-
- [
- helpcontext(0x1300000D)
- ,helpstring("end render ")
- ]
- HRESULT EndRender(
- );
-
- [
- propget
- ,helpcontext(0x1300000E)
- ,helpstring("property MaxArea")
- ]
- HRESULT RadMaxArea(
- [out, retval] double *pVal
- );
-
- [
- propput
- ,helpcontext(0x1300000E)
- ,helpstring("property MaxArea")
- ]
- HRESULT RadMaxArea(
- [in] double newVal
- );
-
- [
- propget
- ,helpcontext(0x1300000F)
- ,helpstring("property MinArea")
- ]
- HRESULT RadMinArea(
- [out, retval] double *pVal
- );
-
- [
- propput
- ,helpcontext(0x1300000F)
- ,helpstring("property MinArea")
- ]
- HRESULT RadMinArea(
- [in] double newVal
- );
-
- [
- propget
- ,helpcontext(0x13000010)
- ,helpstring("property RadQuality")
- ]
- HRESULT RadQuality(
- [out, retval] short *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000010)
- ,helpstring("property RadQuality")
- ]
- HRESULT RadQuality(
- [in] short newVal
- );
- //
- [
- propget
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressHiddenLine")
- ]
- HRESULT ForegroundSuppressHiddenLine(
- [out, retval] BOOL *bVal
- );
-
- [
- propput
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressHiddenLine")
- ]
- HRESULT ForegroundSuppressHiddenLine(
- [in] BOOL bVal
- );
- //
- [
- propget
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressWireFrame2D")
- ]
- HRESULT ForegroundSuppressWireFrame2D(
- [out, retval] BOOL *bVal
- );
-
- [
- propput
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressWireFrame2D")
- ]
- HRESULT ForegroundSuppressWireFrame2D(
- [in] BOOL bVal
- );
- //
- [
- propget
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressWireFrame3D")
- ]
- HRESULT ForegroundSuppressWireFrame3D(
- [out, retval] BOOL *bVal
- );
-
- [
- propput
- ,helpcontext(0x13000010)
- ,helpstring("property ForegroundSuppressWireFrame3D")
- ]
- HRESULT ForegroundSuppressWireFrame3D(
- [in] BOOL bVal
- );
-
- }
-
- /**
- * An object which controls the loading and saving of objects to and from disk.
- */
- [
- object
- ,uuid(6A48114F-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x13010000)
- ,helpstring("An object which controls the rendering.")
- ]
- interface Render : IDispatch
- {
-
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x13010001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the name of the object, as a string.
- */
- [
- propget
- ,helpcontext(0x13010002)
- ,helpstring("Returns the name of the object, as a string.")
- ]
- HRESULT Name(
- [out, retval] BSTR* prop // The name of the object.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x13010003)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Returns the internal table entry ID.
- * Private.
- */
- [
- propget
- ,restricted
- ,helpcontext(0x13010004)
- ,helpstring("Private. Returns the internal table entry ID.")
- ]
- HRESULT _TableEntryID(
- [out, retval] long* prop // The table entry ID.
- );
-
- [
- propget
- ,helpcontext(0x13010005)
- ,helpstring("Returns the type of the object, as a string")
- ]
- HRESULT Type(
- [out, retval] BSTR *pVal
- );
-
- [
- propget
- ,helpcontext(0x13010006)
- ,helpstring("return list of modes supported by this Render object as array of string")
- ]
- HRESULT Modes(
- [out, retval] VARIANT *pVal
- );
-
- [
- propget
- ,helpcontext(0x13010007)
- ,helpstring("return render's default mode")
- ]
- HRESULT DefaultMode(
- [out, retval] ImsiRenderMode *pVal
- );
-
- [
- propput
- ,helpcontext(0x13010007)
- ,helpstring("set render's default mode")
- ]
- HRESULT DefaultMode(
- [in] ImsiRenderMode newVal
- );
-
- [
- propget
- ,helpcontext(0x13010008)
- ,helpstring("return ExtendedModes list for the render")
- ]
- HRESULT RadExtendedModes(
- [out, retval] VARIANT *pVal
- );
-
- [
- propget
- ,helpcontext(0x13010009)
- ,helpstring("return ExtendedMode of the render")
- ]
- HRESULT RadExtendedMode(
- [out, retval] ImsiRenderMode *pVal
- );
-
- [
- propput
- ,helpcontext(0x13010009)
- ,helpstring("set ExtendedMode of the render")
- ]
- HRESULT RadExtendedMode(
- [in] ImsiRenderMode newVal
- );
-
- [
- propget
- ,helpcontext(0x1301000A)
- ,helpstring("property IterationsCount")
- ]
- HRESULT RadIterationsCount(
- [out, retval] short *pVal
- );
-
- [
- propput
- ,helpcontext(0x1301000A)
- ,helpstring("property IterationsCount")
- ]
- HRESULT RadIterationsCount(
- [in] short newVal
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-
- /**
- * Deletes the object.
- */
- [
- helpcontext(0x1301000B)
- ,helpstring("Deletes the object.")
- ]
- HRESULT Delete(
- );
-
- [
- helpcontext(0x1301000C)
- ,helpstring("Run the render in target view")
- ]
- HRESULT Run(
- [in] View* pView,
- [out, retval] IPicture** pPicture
- );
-
- [
- propget
- ,helpcontext(0x1301000D)
- ,helpstring("Return count of render modes supported by the render")
- ]
- HRESULT RenderModesCount(
- [out, retval] short *pVal
- );
-
- [
- propget
- ,helpcontext(0x1301000E)
- ,helpstring("Return count of extended render modes supported by the render")
- ]
- HRESULT RadExtendedRenderModesCount(
- [out, retval] short *pVal
- );
-
- [
- propget
- ,helpcontext(0x1301000F)
- ,helpstring("property MaxArea")
- ]
- HRESULT RadMaxArea(
- [out, retval] double *pVal
- );
-
- [
- propput
- ,helpcontext(0x1301000F)
- ,helpstring("property MaxArea")
- ]
- HRESULT RadMaxArea(
- [in] double newVal
- );
-
- [
- propget
- ,helpcontext(0x13010010)
- ,helpstring("property MinArea")
- ]
- HRESULT RadMinArea(
- [out, retval] double *pVal
- );
-
- [
- propput
- ,helpcontext(0x13010010)
- ,helpstring("property MinArea")
- ]
- HRESULT RadMinArea(
- [in] double newVal
- );
-
- [
- propget
- ,helpcontext(0x13010011)
- ,helpstring("property RadQuality")
- ]
- HRESULT RadQuality(
- [out, retval] short *pVal
- );
-
- [
- propput
- ,helpcontext(0x13010011)
- ,helpstring("property RadQuality")
- ]
- HRESULT RadQuality(
- [in] short newVal
- );
-
- };
-
- /**
- * The collection of objects that control loading from and saving to storage.
- */
- [
- object
- ,uuid(6A481150-E531-11CF-A115-00A024158DAF)
- ,dual
- ,helpcontext(0x13020000)
- ,helpstring("The collection of objects that control rendering.")
- ]
- interface Renders : IDispatch
- {
-
- ///////////////////////////// Properties \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-
- /**
- * Returns an Application object that represents the owner of the specified object.
- */
- [
- propget
- ,helpcontext(0x13020001)
- ,helpstring("Returns an Application object that represents the creator of the specified object.")
- ]
- HRESULT Application(
- [out, retval] IApplication** prop // The Application object.
- );
-
- /**
- * Returns the number of items in the collection.
- */
- [
- propget
- ,helpcontext(0x13020002)
- ,helpstring("Returns the number of items in the collection.")
- ]
- HRESULT Count(
- [out, retval] long* prop // The number of items.
- );
-
- /**
- * Returns part of a collection.
- */
- [
- propget
- ,id(DISPID_VALUE)
- ,helpcontext(0x13020003)
- ,helpstring("Returns part of a collection.")
- ]
- HRESULT Item(
- [in] VARIANT* Index, // Index of item to return.
- [out, retval] Render** prop // The item.
- );
-
- /**
- * Returns the parent object for the specified object.
- */
- [
- propget
- ,helpcontext(0x13020004)
- ,helpstring("Returns the parent object for the specified object.")
- ]
- HRESULT Parent(
- [out, retval] IDispatch** prop // The parent object.
- );
-
- /**
- * Creates an enumeration object.
- */
- [
- propget
- ,restricted
- ,id(DISPID_NEWENUM)
- ,helpcontext(0x13020005)
- ,helpstring("Private. Creates an enumeration object.")
- ]
- HRESULT _NewEnum(
- [out, retval] IUnknown** prop // The enumeration object.
- );
-
- /////////////////////////////// Methods \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
-
- /**
- * Add all the Render objects in the specified file to the collection.
- */
-
- [
- helpcontext(0x13020006)
- ,helpstring("Add all the Render objects in the specified file to the collection.")
- ,hidden, restricted
- ]
- HRESULT Add(
- [in] BSTR FileName, // The full path name of the file containing Filter objects.
- [in, out, optional] VARIANT* RendersAdded // An array of Filter objects.
- );
-
- /**
- * Returns the index within the table collection of the specified table entry.
- * Private.
- */
- [
- restricted
- ,helpcontext(0x13020007)
- ,helpstring("Private. Returns the index within the table collection of the specified table entry.")
- ]
- HRESULT _FindIndex(
- [in] long TableEntryID, // The internal table ID.
- [out, retval] long* prop // The zero based index.
- );
-
- /**
- * Returns an object from the table collection for the specified table entry.
- * Private.
- */
- [
- restricted
- ,helpcontext(0x13020008)
- ,helpstring("Private. Returns an object from the table collection for the specified table entry.")
- ]
- HRESULT _ObjectFromID(
- [in] long TableEntryID, // The internal table ID.
- [out, retval] Render** prop // The object.
- );
-
- [
- propget
- ,helpcontext(0x13000011)
- ,helpstring("True if render views are sutomatically updated when drawing has been changed.")
- ]
- HRESULT AutoUpdate(
- [in, optional] VARIANT* pIDispDwg,
- [out, retval] IMSI_BOOL *pVal
- );
-
- [
- propput
- ,helpcontext(0x13000011)
- ,helpstring("True if render views are sutomatically updated when drawing has been changed.")
- ]
- HRESULT AutoUpdate(
- [in, optional] VARIANT* pIDispDwg,
- [in] IMSI_BOOL newVal
- );
- };
-
-
- [
- uuid(6A481406-E531-11CF-A115-00A024158DAF)
- ,version(8.0)
- ,helpfile("tcsdk.chm")
- ,helpcontext(0x13030000)
- ,helpstring("GXRenders 8.0 Type Library")
- ]
- library GXRendersLib
- {
- importlib("stdole32.tlb");
- importlib("stdole2.tlb");
- importlib("..\include\imsigx.tlb");
-
- [
- uuid(6A48180D-E531-11CF-A115-00A024158DAF)
- ,hidden
- ,helpcontext(0x13030000)
- ,helpstring("A Renders collection.")
- ]
- coclass XRenders
- {
- [default] interface Renders;
- }
-
- [
- uuid(6A48180E-E531-11CF-A115-00A024158DAF)
- ,hidden
- ,helpcontext(0x13040000)
- ,helpstring("A RenderView .")
- ]
- coclass XRenderView
- {
- [default] interface RenderView;
- }
-
-
- };
-